/* 顶部导航栏CSS区域-start */
.navTop {
  width: 100%;
  height: 60px;
  background-color: #343a40;
}

/* 主轴 */
.container {
  display: flex;
  width: 950px;
  height: 100%;
  margin: 0px auto;
  align-items: center;
  transition: 0.5s;
  position: relative;
}

/* 苹果字体 */
.apple-font {
  color: rgba(255, 255, 255, 0.5);
}

.user-avatar {
  width: 32px;
  height: 32px;
  margin-right: 5px;
  border-radius: 50%;
}

.apple-font:hover {
  color: rgba(255, 255, 255, 0.75);
}

#logo {
  display: flex;
  align-items: center;
}

#logo,
#logo > img {
  height: 60px;
}

#logo > span {
  color: #00ff00;
  text-decoration: none;
  letter-spacing: 4px;
  text-indent: 5px;
  background-clip: text;
  background-image: -webkit-linear-gradient(bottom, red, #fd8403, yellow);
  -webkit-text-fill-color: transparent;
}

.collapse {
  margin-left: 20px;
}

.collapse > ul,
.user-operation,
.user-operation > ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.collapse > ul > li,
.user-operation > ul > li {
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  margin: 0 10px;
}

.user-operation > ul > li > a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.collapse > ul > li:hover,
.user-operation > ul > li:hover {
  color: rgba(255, 255, 255, 0.75);
}

.user-operation {
  margin-left: auto;
}

.publish-news {
  padding: 1px 10px;
  height: 40px;
  line-height: 40px;
  background-color: #007bff;
  border-radius: 5px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
}

/* 顶部导航栏CSS区域-end */

/* 注册登陆区域-start */
.center-nav {
  width: 840px;
  margin: 0px auto;
  display: flex;
  flex-direction: column;
  transition: 0.5s;
}

.center-nav > div {
  height: 100%;
  padding: 0px 10px;
}

.user-handle-box {
  width: 66.66%;
  margin-top: 5rem;
}

.user-handle-box > h1 {
  font-weight: 400;
  font-size: 1.75rem;
}

.user-handle-box > hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.user-handle-box > input {
  display: block;
  width: 100%;
  padding: 0.375rem 0;
  text-indent: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* 注册登陆区域-end */

/* 主页区域-start */
.froumn-ul-box {
  /* padding: 10px 0; */
  margin-top: 2rem;
  background-color: #fff;
}

.box-empty {
  padding: 10px 0;
}

.pagination-box {
  background-color: #fff;
  padding: 10px 20px !important;
}

.froumn-PublishBox {
  display: flex;
  padding: 12px 20px;
  border-bottom: 1px solid #dfdfdf;
}

.froumn-PublishBox > .froumn-box {
  font-size: 16px;
}

.froumn-HomeBox > .froumn-box,
.myComment-froumn-box > .froumn-box {
  padding: 12px 20px;
  border-bottom: 1px solid #dfdfdf;
  font-size: 16px;
}

.comment-user-body > p {
  margin-bottom: 1rem;
}

.froumn-handle-area {
  margin-left: auto;
}

.froumn-handle-area > button {
  margin: 0px 3px;
}
.froumn-empty {
  padding: 12px 20px;
}
.froumn-title {
  color: #007bff;
  cursor: pointer;
  margin-bottom: 8px;
}

.froumn-title:hover {
  color: #0056b3;
}

.froumn-msg {
  font-size: 12px;
  color: #808080;
}

.froumn-msg > span {
  font-size: 14px;
  cursor: pointer;
}

.froumn-msg > span:nth-child(2) {
  color: #007bff;
  font-size: 12px;
}

/* 主页区域-end */

/* 帖子区域-start */
.card-head {
  margin-top: 2rem;
  background-color: #fff;
  min-height: 100px;
  padding: 12px 20px;
  border-bottom: 1px solid #d8d8d8;
}

.card-head > h1 {
  font-size: 1.75rem;
}

.topic-msg {
  margin: 0.5rem 0;
}

.share-box {
  display: flex;
}

.share-box > a {
  display: block;
  width: 26px;
  height: 26px;
  cursor: pointer;
  margin: 0px 2px;
}

.share-box > a > svg {
  margin: 5px 5px;
}

.weibo {
  background-color: #e6162d;
}

.qq,
.qq-friend {
  background-color: #1da1f2;
}

.douban {
  background-color: #0e7512;
}

.card-body {
  padding: 12px 20px;
  background-color: #fff;
  border-bottom: 1px solid #d8d8d8;
}

.card-body img {
  display: block;
  margin: 0px auto;
  max-width: calc(100% - 40px);
}

.card-body video {
  display: block;
  margin: 0px auto;
  max-width: calc(100% - 40px);
}

.card-body > p {
  margin-bottom: 1rem;
  line-height: 200%;
}

.comment-msg-box {
  background-color: #fff;
  margin-top: 2rem;
  border-bottom: 1px solid #d8d8d8;
}

.comment-msg-box > div {
  padding: 12px 20px;
  border-bottom: 1px solid #d8d8d8;
}

.comment-msg-box > div:last-child {
  border-bottom: none;
}

.comment-head {
  font-size: 12px;
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

.comment-head span:nth-child(1) {
  color: #007bff;
  font-weight: bold;
  font-size: 14px;
  margin-right: 0.5rem;
  cursor: pointer;
}

.comment-head > span:last-child {
  margin-left: auto;
}

.comment-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.comment-realBox {
  position: relative;
  display: flex;
  min-height: 4.5rem;
  flex-direction: column;
  justify-content: space-around;
}

.comment-box {
  background-color: #fff;
  margin: 2rem 0;
}

.comment-box-head {
  padding: 12px 20px;
  border-bottom: 1px solid #d8d8d8;
}

.comment-box-body {
  padding: 12px 20px;
}

.comment-body {
  font-size: 16px;
  margin-left: 2rem;
  position: relative;
}

.comment-body > p {
  margin: 0.5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.5rem;
  cursor: pointer;
  color: #6c757d;
  border-radius: 0.25rem;
  border: 1px solid #6c757d;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #6c757d;
  color: #fff;
}

/* 帖子区域-end */

/* 发帖区域-start */
.publish-card {
  background-color: #fff;
  margin-top: 2rem;
}

.publish-card-head {
  padding: 12px 20px;
  border-bottom: 1px solid #d8d8d8;
}

.publish-card-body {
  padding: 12px 20px;
}

.publish-card-body > h3 {
  margin: 1rem 0;
}

.publish-card-body > input {
  display: block;
  width: 100%;
  padding: 0.375rem 0;
  text-indent: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.shortselect {
  background: #fafdfe;
  height: 40px;
  width: 100%;
  text-indent: 0.5rem;
  line-height: 40px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

/* 发帖区域-end */

/* 我发布的话题区域-start */
.myPublish-box {
  background-color: #fff;
  padding: 12px 20px;
  margin-top: 2rem;
}

/* 我发布的话题区域-end */

/* 我回复的话题区域-start */
.comment-user-head {
  display: flex;
  align-items: center;
}

.comment-time {
  color: #808080;
  font-size: 12px;
  margin-left: 10px;
  margin-bottom: 8px;
}

.comment-user-body {
  margin: 1rem 0;
  text-indent: 5px;
}

/* 我回复的话题区域-end */

/* 个人中心区域-start */
.account-msg-head {
  background-color: #fff;
  padding: 12px 20px;
  margin-top: 2rem;
}

.account-msg-body {
  background-color: #fff;
}

.user-avatar-box {
  height: 100%;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 1rem 0;
  border-bottom: 1px solid #ccc;
  padding: 12px 20px;
}

.user-avatar-box > *:last-child {
  margin-left: 1rem;
}

.ant-upload-picture-card-wrapper {
  width: auto;
}

/* 个人中心区域-end */

/* 富文本编辑器 */
.editorElem-body {
  z-index: 1000 !important;
}

/* 删除评论按钮 */
.del-comment {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  font-size: 12px;
  padding: 0.25rem;
}

.w-e-item > img {
  width: 25px;
}

img[data-w-e] {
  width: 25px;
}

/* 我的消息区域-start */
.chat-box > .center-nav {
  padding-top: 2rem;
}

.chat-box > .center-nav > div {
  padding: 0;
}

.chat-box > .center-nav > .center-nav-left {
  background-color: #fff;
}

.chat-box > .center-nav > .center-nav-right {
  background-color: #fff;
  margin-left: 1rem;
  width: 20%;
  min-height: 726px;
}

.chat-box > .center-nav > .center-nav-right > .chat-list > .chat-list-head {
  border-bottom: 1px solid #d8d8d8;
}

.chat-box > .center-nav > .center-nav-right > .chat-list > .chat-list-head,
.chat-box > .center-nav > .center-nav-right > .chat-list > .chat-list-head {
  padding: 12px 20px;
  box-sizing: border-box;
}

.chatUserBox {
  padding: 12px 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #dfdfdf;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-right: 5px;
}
.chatNotSeenMsgNum {
  margin-left: auto;
  margin-bottom: auto;
  border-radius: 50%;
  background-color: #f00;
  color: #fff;
  width: 15px;
  font-size: 12px;
  height: 15px;
  text-align: center;
  line-height: 15px;
}
.chat-view {
  width: 100%;
  height: 400px;
  border-bottom: 1px solid #dfdfdf;
  overflow-y: auto;
  background-color: #f5f5f5;
}

.chat-box h2 {
  text-align: center;
  border-bottom: 1px solid #dfdfdf;
  padding: 0.5rem 0;
}

.chat-editor {
  width: 100%;
  padding: 12px 10px;
}

.chat-editor .w-e-text {
  overflow-y: auto;
}

.myMsg {
  padding: 12px 10px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.friendMsg {
  padding: 12px 10px;
  display: flex;
  align-items: center;
}

.chat-username {
  font-size: 12px;
  margin-bottom: 0.2rem;
}

.myMsg .chatUserBox-msg {
  text-align: right;
  margin-right: 0.3rem;
}

.chatUserBox-msg {
  margin-left: 0.3rem;
}

.chat-value {
  background-color: #fff;
  padding: 12px 10px;
}

.chat-value > p {
  margin: 0.2rem 0;
}

/* 版尾样式 */
.bottom-box {
  width: 100%;
  height: 30px;
  background-color: #343a40;
  text-align: center;
  line-height: 30px;
  font-size: 12px;
  color: #9a9da0;
}

.bottom-box > div {
  width: 100%;
  height: 100%;
}
.mobile-area {
  display: none;
  margin-left: auto;
}
.button {
  width: 25px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.button > .line {
  width: 100%;
  height: 2px;
  background-color: #2db5a3;
  position: relative;
  transition: 0.5s;
}
.list {
  position: absolute;
  transition: 0.5s;
  max-height: 0px;
  width: 100%;
  top: 60px;
  left: 0px;
  background-color: #343a40;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 16px;
  z-index: 100;
  overflow: hidden;
}
.list ul {
  width: 100%;
  flex-direction: column;
}
.list ul > li {
  width: 100%;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  letter-spacing: 1px;
}
.list ul > li:hover {
  color: #c3ceb8;
}
.list ul > li > a {
  display: block;
  width: 100%;
  height: 100%;
}
.list ul > li > a:hover {
  color: #c3ceb8;
}
.chat-box-center {
  flex-direction: row;
}
.chat-box-center > .center-nav-left {
  width: 75%;
}
@media screen and (max-width: 1200px) {
  .center-nav {
    width: 95%;
  }
  .container {
    width: 100%;
    padding: 0px 10px;
  }
}
@media screen and (max-width: 900px) {
  .collapse,
  .user-operation {
    display: none;
  }
  .mobile-area {
    display: block;
  }
  .user-operation {
    flex-direction: column;
    align-items: flex-start;
  }
  .user-operation > ul > li {
    margin: 0px;
  }
  .publish-news {
    margin-left: -5px;
  }
  .center-nav {
    margin-bottom: 20px;
  }
  .chat-box-center {
    flex-direction: column-reverse;
  }
  .chat-box > .chat-box-center > .center-nav-right {
    margin-left: 0px;
    width: auto;
    min-height: auto;
  }
  .chat-box-center > .center-nav-left {
    width: 100%;
    margin-top: 10px;
  }
  .chatNotSeenMsgNum {
    margin-bottom: 0px;
  }
}
